package com.hsgene.sample.condition;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.hsgene.common.util.date.TimeJsonDeserializer;
import com.hsgene.common.util.support.LimitHelper;
import com.hsgene.common.util.support.OrderHelper;

import java.util.Date;

public class SampleCondition {

    private String id;
    /**
     * 是否需要额外样本（0是否）
     */
    private Integer extraSample;

    /**
     * type样本类型  label样本值
     * */
    private String typeLabel;
    /***
     * 样本
     */
    private String label;
    /**
     * 样本类型id
     */
    private String typeId;

    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date createDateTime;
    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date upateDateTime;

    private Integer deleteFlag;

    private String remarks;

    /**
     * 分页条件
     */
    private LimitHelper limitHelper;

    /**
     * 排序条件
     */
    private OrderHelper orderHelper;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public Date getCreateDateTime() {
        return createDateTime;
    }

    public void setCreateDateTime(Date createDateTime) {
        this.createDateTime = createDateTime;
    }

    public Date getUpateDateTime() {
        return upateDateTime;
    }

    public void setUpateDateTime(Date upateDateTime) {
        this.upateDateTime = upateDateTime;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public LimitHelper getLimitHelper() {
        return limitHelper;
    }

    public void setLimitHelper(LimitHelper limitHelper) {
        this.limitHelper = limitHelper;
    }

    public OrderHelper getOrderHelper() {
        return orderHelper;
    }

    public void setOrderHelper(OrderHelper orderHelper) {
        this.orderHelper = orderHelper;
    }

    public String getTypeLabel() {
        return typeLabel;
    }

    public void setTypeLabel(String typeLabel) {
        this.typeLabel = typeLabel;
    }

    public Integer getExtraSample() {
        return extraSample;
    }

    public void setExtraSample(Integer extraSample) {
        this.extraSample = extraSample;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }
}